/* ===================== BASE ===================== */
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(to right, #ffe0a0, #dc8536);
  color: #222;
}
/* ===================== NAVBAR ===================== */
nav {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #111;
  padding: 10px 20px;
  z-index: 1000;
}

nav .logo {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: #ffc77d;
  font-weight: bold;
}

nav a {
  color: white;
  text-decoration: none;
  padding: 12px 16px;
  margin: 2px;
  border-radius: 6px;
  border: 2px solid white;
  transition: all 0.3s ease;
}

nav a:hover {
  background: #ffc77d;
  color: #111;
  border-color: #ffc77d;
}

.menu-toggle {
  display: none;
  font-size: 26px;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 8px;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: none;
  z-index: 9999;
}

.menu-overlay.active {
  display: block;
}

/* ===================== CONTENT ===================== */
.content {
  display: flex;
  gap: 30px;
  padding: 60px 5vw;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.content.reverse {
  flex-direction: row-reverse;
}

.image-text {
  flex: 1;
  min-width: 280px;
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease;
}

.image-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: #222;
  margin-bottom: 12px;
}

.image-text p {
  font-size: 16px;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 20px;
  background: #ffc77d;
  color: #111;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.btn:hover {
  background: #ffb347;
  transform: scale(1.05);
}

/* ===================== IMAGE BOX ===================== */
.image-box {
  flex: 1;
  max-width: 600px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.image-box img {
  width: 100%;
  display: block;
  border-radius: 12px;
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.5s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.image-box img:hover {
  transform: scale(1.07) rotate(1deg);
  filter: brightness(1.1);
}

.image-text.mobile-overlay {
  display: none;
  position: absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:12px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border-radius:12px;
  opacity:0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.image-text.mobile-overlay p {
  padding: 14px 18px;
  border-radius: 8px;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(255,255,255,0.8);
  font-size: 18px;
}

/* ===================== ANIMASJON ===================== */
.image-box.show img,
.image-text.show {
  opacity: 1;
  transform: translateX(0) scale(1);
}

/* Base (startpunkt) */
.image-text,
.image-box {
  opacity: 0;
}

/* Når de vises */
.image-text.show,
.image-box.show {
  opacity: 1;
}

/* Stagger timing */
.image-text {
  transition: all 0.6s ease;
  transition-delay: 0s;
}

.image-box {
  transition: all 0.6s ease;
  transition-delay: 0.25s; 
}

/* ===================== MOBILE STYLING ===================== */
@media (max-width: 768px) {

  /* ===================== BODY ===================== */
  body {
    background: linear-gradient(to bottom, #fff7f0, #ffd6a5);
  }

  /* ===================== HAMBURGER ===================== */
  .menu-toggle {
    display: block;
    z-index: 10001;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
  }

  /* ===================== OVERLAY ===================== */
  .menu-overlay {
    position: fixed;
    top: 0;
    left: 75%; 
    width: 25%; 
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: none;
    z-index: 9998;
    cursor: pointer;
    transition: opacity 0.3s ease;
  }

  .menu-overlay.active {
    display: block;
    opacity: 1;
  }

  /* ===================== NAV-MENY ===================== */
  .nav-links {
    position: fixed;
    top: 0;
    left: -75%;
    width: 75%;
    height: 100vh;
    background: #111;
    flex-direction: column;
    padding-top: 80px;
    transition: left 0.3s ease;
    z-index: 9999;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links a {
    padding: 18px 20px;
    border-bottom: 1px solid #333;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
  }

  .nav-links.active a:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateX(0); }
  .nav-links.active a:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateX(0); }
  .nav-links.active a:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateX(0); }
  .nav-links.active a:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateX(0); }
  .nav-links.active a:nth-child(5) { transition-delay: 0.5s; opacity: 1; transform: translateX(0); }

  /* ===================== INNHOLD ===================== */
  .content, .content.reverse {
    flex-direction: column;
    padding: 20px 5vw;
    gap: 20px;
  }

  .image-text:not(.mobile-overlay) {
    display: block;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: background 0.3s ease;
  }

  .content:nth-child(odd) .image-text:not(.mobile-overlay) {
    background: #fff7f0;
  }

  .content:nth-child(even) .image-text:not(.mobile-overlay) {
    background: #ffe5cc;
  }

  /* ===================== KNAPPER ===================== */
  .btn {
    width: 93%;
    margin-top: 15px;
    padding: 14px;
    border-radius: 6px;
    font-size: 16px;
    background: #ffb347;
    color: #111;
    text-align: center;
  }

  .btn:hover {
    background: #ff9c00;
  }

  /* ===================== BILDER ===================== */
  .image-box {
    width: 100%;
    border-radius: 0;
    overflow: hidden;
  }

  .image-box img {
    border-radius: 0;
    width: 100%;
    box-shadow: none;
    transform: none !important;
  }

  .image-text.mobile-overlay {
    display: none;
  }

  /* ===================== TEKST ===================== */
  h2 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  p {
    font-size: 15px;
    line-height: 1.5;
  }

  /* ===================== FOOTER ===================== */
  footer {
    padding: 30px 5vw 20px;
    font-size: 15px;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-contact h3,
  .footer-social h3 {
    font-size: 20px;
  }

  .footer-contact p {
    font-size: 16px;
  }

  .social-link {
    font-size: 28px;
  }
}

/* Hamburger-knapp */
.menu-toggle {
  display: none; /* skjult på desktop */
  z-index: 10001;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

/* Vis hamburger på mobil */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
}
/* ===================== FOOTER ===================== */
footer {
  background-color: #111;
  color: #fff;
  padding: 40px 5vw 20px;
  font-size: 14px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 20px;
}

.footer-contact h3,
.footer-social h3 {
  margin-bottom: 12px;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: #ffc77d;
}

.footer-contact p {
  margin: 4px 0;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-link {
  display: inline-block;
  font-size: 24px;
  color: #ffc77d;
  transition: all 0.3s ease;
}

.social-link:hover {
  transform: scale(1.2);
  color: #ffb347;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #444;
  padding-top: 10px;
  font-size: 13px;
  color: #aaa;
}

/* ===================== FOOTER MOBILE ===================== */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

  footer {
    padding: 30px 5vw 20px;
    font-size: 15px;
  }

  .footer-contact h3,
  .footer-social h3 {
    font-size: 20px;
  }

  .footer-contact p {
    font-size: 16px;
  }

  .social-link {
    font-size: 28px;
  }
}

/* ===================== PARALLAX DISABLE PÅ MOBIL ===================== */
@media (max-width: 768px) {
  .image-box img {
    transform: none !important;
  }
}

/* ===================== FORM ===================== */

.form-wrapper {
  min-height: 100vh;              
  display: flex;
  justify-content: center;        
  align-items: center;            
}

form {
  width: 100%;
  max-width: 500px;               
  padding: 30px;
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

label {
  display: block;
  margin-top: 15px;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  margin-top: 6px;
  font-size: 16px;                /* større tekst */
  border-radius: 5px;
  border: 1px solid #ccc;
}

textarea {
  min-height: 120px;
}

button {
  margin-top: 20px;
  padding: 14px;
  font-size: 16px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

/*TIME OVERSIKT*/
/* Seksjon bakgrunn */
.opening-hours {
    padding: 60px 20px;
    background: linear-gradient(to right, #f8f8f8, #ececec);
    display: flex;
    justify-content: center;
}

/* Kort */
.opening-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    max-width: 500px;
    width: 100%;
    transition: transform 0.3s ease;
}

.opening-card:hover {
    transform: translateY(-5px);
}

/* Tittel */
.opening-card h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 28px;
    letter-spacing: 1px;
}

/* Liste */
.hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 18px;
}

.hours-list li:last-child {
    border-bottom: none;
}

/* Søndag (stengt) */
.hours-list li span:last-child {
    font-weight: 500;
}

/* Mobiltilpasning */
@media (max-width: 500px) {
    .opening-card {
        padding: 25px;
    }

    .opening-card h2 {
        font-size: 22px;
    }

    .hours-list li {
        font-size: 16px;
    }
}

/* ================= BOOKING SECTION ================= */

.booking-section {
    padding: 80px 20px;
    background: linear-gradient(to right, #f8f8f8, #ececec);
    text-align: center;
}

.booking-section h2 {
    font-size: 28px;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

/* Kort rundt booking */
.booking-wrapper {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    max-width: 1100px;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.booking-wrapper:hover {
    transform: translateY(-5px);
}

/* Fixit iframe */
.booking-frame {
    width: 100%;
    height: 850px;
    border: none;
    border-radius: 12px;
}

/* Mobil */
@media (max-width: 768px) {
    .booking-wrapper {
        padding: 20px;
    }

    .booking-frame {
        height: 1000px;
    }
}

.booking-section {
    padding: 100px 20px;
    background: var(--black);
    text-align: center;
}

.booking-section h2 {
    color: var(--gold);
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.booking-wrapper {
    background: var(--dark);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(198,167,94,0.2);
    box-shadow: 0 15px 50px rgba(0,0,0,0.7);
    max-width: 1100px;
    margin: 0 auto;
    transition: 0.4s;
}

.booking-wrapper:hover {
    box-shadow: 0 20px 60px rgba(198,167,94,0.15);
}

.booking-frame {
    width: 100%;
    height: 850px;
    border: none;
    border-radius: 15px;
}

.opening-hours {
    padding: 80px 20px;
    background: var(--black);
    display: flex;
    justify-content: center;
}

.opening-card {
    background: var(--dark);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(198,167,94,0.2);
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    max-width: 500px;
    width: 100%;
}

.opening-card h2 {
    text-align: center;
    color: var(--gold);
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgb(198 167 94 / 65%);
}

.hours-list li span:last-child {
    color: var(--gold-light);
}

/* ================= LUKSUS FARGER ================= */

.bestill-time-page  {
    --black: #0f0f0f;
    --dark: #1a1a1a;
    --gold: #c6a75e;
    --gold-light: #e5c97a;
    --text-light: #f5f5f5;
    --grey: #999;
}

/* ================= LUKSUS FOR BESTILL TIME ================= */
.bestill-time-page {
    background-color: var(--black);
    color: var(--text-light);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
}

.bestill-time-page .page-header {
    background: var(--dark); /* mørk bakgrunn */
    padding: 60px 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.7);
}

.bestill-time-page .page-header h1 {
    color: var(--gold);
    font-size: 3rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.bestill-time-page .page-header p {
    color: var(--gold-light);
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}